<?php #script mysql_connect.php
/* This file contains the database access information.
This file also establishes a connection to MtSQL and selects the database
*/
//set the database access information as constants
//define ('DB_USER','powergoa_gmi'); //change username to your pc user
//define ('DB_PASSWORD','gmi');
//define ('DB_HOST','localhost');
//define ('DB_NAME','powergoa_gmiprod');

define ('DB_USER','root'); //change username to your pc user
define ('DB_PASSWORD','');
define ('DB_HOST','localhost');
define ('DB_NAME','gmi');
//make the connection and then select the database
$dbc = mysql_connect (DB_HOST, DB_USER, DB_PASSWORD) OR
die ('Could not connect to MySQL: '. mysql_error());
mysql_select_db (DB_NAME) OR
die ('Could not connect the database: ' . mysql_error());
?>